package clue.editor;

import objects.BoardData;

public class UndoManager {
	
	public void performUndo()
	{
		BoardData boardData = GlobalHistory.getInstance().popUndo();
		BoardDataParser.parseBoardDataToFrame(boardData);
	}
	
	public void performRedo()
	{
		BoardData boardData = GlobalHistory.getInstance().popRedo();
		BoardDataParser.parseBoardDataToFrame(boardData);
	}
	
}
